"use client"

import Link from "next/link";
import { useState } from "react";

export default () => {

  const [id, setId] = useState(1);
  const [second, setSecond] = useState( new Date().getSeconds());

  return (
    <div>

      <div>
        <Link href="/client" style={{ backgroundColor: '#00BCD4', padding: '2px 20px', borderRadius: '5px',border: '2px solid black' }}>
          Back And Modify Cache
        </Link>
      </div>

      <div style={{marginTop: '20px'}}>
        <Link href={`/client/child/${id}/${second}`} type="submit" style={{ backgroundColor: '#00BCD4', padding: '2px 20px', borderRadius: '5px',border: '2px solid black' }}>
          To User
        </Link>
      </div>
    </div>
  );
}